
//给平台属性数据添加约束
export type Numberable = number | undefined

export interface CategoryModel {
    id: number,
    name: string,
    hasChildren?: boolean,
    level?: number
}

export type CategoryListModel = CategoryModel[]

export interface categoryIdType {
    category1Id: Numberable;
    category2Id: Numberable;
    category3Id: Numberable;
}

export interface CategoryStateModel extends categoryIdType {

    category1List: CategoryListModel;
    category2List: CategoryListModel;
    category3List: CategoryListModel;
}